<!DOCTYPE html>
<html>
{include file="head.html"}
<body>
<div class="header" >
    <a  class="left-btn pointer" href="{$appshop}?m=shop_flash"><span class="iconfont icon-back"></span></a>
    <div class="title">轮显管理</div>
     
</div>
<div class="main-body">
<form method='post' action='shopadmin.php?m=shop_flash&a=save'>
        <input type='hidden' name='id' style='display:none;' value='{$data.id}' >
        <div class="input-row">
        	<label>标题</label>
        	<input type='text' name='title' id='title'   value='{$data.title}' >
        </div>
        <div class="input-row">
        	<label>链接</label>
        	<input type='text' name='linkurl' id='linkurl'   value='{$data.linkurl}' >
        </div>
        
        
        <div class="input-row">
        	<label>排序</label>
        	<input type='text' name='orderindex' id='orderindex' value='{$data.orderindex}' >
        </div>
        
        <div class="pd-5">
        	 <div id="up1" url="/index.php?m=upload&a=uploadtao&dir=shop_product&id={$data.id}">
    	<div class="btn-upload">
          <input type="file" name="upimg" id="ud"  class="btn-upload-file" onChange="uploadimg('up1')">
         </div>
 
          <input type="hidden" name="imgurl" class="imgurl" value="{$data.imgurl}">
          <span class="imgShow">
          {if $data.imgurl}
          <img src="{$data.imgurl|images_site}.100x100.jpg">
          {/if}
          </span>
      </div>
        </div>
        
        <div class="pd-5">
        <button type="submit"   class="btn btn-row btn-success">保存</button>
        </div>
       
      </form>
</div>  
  <script src="/plugin/skyweb/lrz.mobile.min.js"></script>
<script src="/static/js/upload_wap.js"></script> 

{include file="footer.html"}
